package edu.sias.hyzn.service;

import edu.sias.hyzn.domain.Medicine;
import edu.sias.hyzn.domain.MedicineRecord;
import edu.sias.hyzn.vo.MedicineRecordPie;
import edu.sias.hyzn.vo.MedicineRecordVO;

import java.util.List;

public interface IMedicineService {
    List<Medicine> selectMedicineList(Medicine medicine);

    List<MedicineRecordVO> selectMedicineRecordVOList();

    int insertMedicine(Medicine medicine);

    int updateMedicine(Medicine medicine);

    int deleteMedicineById(Long id);

    int insertMedicineRecord(MedicineRecord medicineRecord);

    int updateMedicineRecord(MedicineRecord medicineRecord);

    int deleteMedicineRecordById(Long id);

    List<MedicineRecordPie> selectMedicineRecordVOById(Long userId);
}
